#ifndef GRAPHICSOBJECT_H_
#define GRAPHICSOBJECT_H_
#include <oslib/oslib.h>

typedef struct {
	float u, v;
	unsigned int color;
	float nx, ny, nz;
	float x, y, z;
} vertexfull; // vertex to render

typedef struct {
	float u, v;
} ScePspFTVector2;

typedef struct {
	unsigned int vertices[3];
	unsigned int textc[3];
	unsigned int normals[3];
} FaceObj;

typedef struct {
	unsigned int faceCount;
	vertexfull *Vertices;
	OSL_IMAGE* texture;
} ObjMeshPart;

#endif
